package com.pig4cloud.pig.admin.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * demo 表
 *
 * @author pig
 * @date 2024-09-20 15:22:41
 */
@Data
@TableName("demo")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "demo 表")
public class DemoEntity extends Model<DemoEntity> {


	/**
	* 编号
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="编号")
    private Long id;

	/**
	* 用户名
	*/
    @Schema(description="用户名")
    private String username;

	/**
	* 密码
	*/
    @Schema(description="密码")
    private String password;

	/**
	* 删除标记
	*/
    @TableLogic
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="删除标记")
    private String delFlag;
}
